<?php

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
    protected function _initView()
    {
    	$view = new Zend_View();
        $view->setEncoding('UTF-8');
        $view->doctype('XHTML1_TRANSITIONAL');
        // add our own custom view helpers
        $view->addHelperPath(
            dirname(APPLICATION_PATH) . '/library/Owg/View/Helper',
            'Owg_View_Helper_'
        );
        
		$viewRenderer = Zend_Controller_Action_HelperBroker::getStaticHelper(
            'ViewRenderer'
        );

        $viewRenderer->setView($view);
        return $view;
    }
	

}

